<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<style type="text/css">
.seniorSearch .form-group{
	margin-bottom: 6px !important;
	padding-bottom: 6px !important;
}
</style>
<t:panel cssClass="panel-flat border-xs border-primary border-top-xlg custom-panel searchPanel seniorSearch" customBody="true" customHead="true">
	<div class="panel-heading">
		<h6 class="panel-title">
			高级搜索
			<a class="heading-elements-toggle">
				<i class="icon-more"></i>
			</a>
		</h6>
		<div class="heading-elements"></div>
	</div>
	<div class="panel-body">
		<t:hidden path="deleteMark" />
		<t:formgroup>
 			<t:label path="billingNo" cssClass="col-sm-1" />
			<t:input path="billingNo" colClass="col-sm-2 col-xs-2" />
		    <t:label path="createUserId" cssClass="col-sm-1 col-xs-1" />
		    <t:select2 path="createUserId" placeholder="开单人" allowClear="true" colClass="col-sm-2 col-xs-2"></t:select2>

			<t:label path="startDate" cssClass="col-sm-1" />
			<t:date path="startDate" rightInputGroupIcon="icon-calendar52 text-primary" colClass="col-sm-2 col-xs-2" />
			<t:label path="endDate" cssClass="col-sm-1" />
			<t:date path="endDate" rightInputGroupIcon="icon-calendar52 text-primary" colClass="col-sm-2 col-xs-2" />
		</t:formgroup>
	</div>
</t:panel>
<script type="text/javascript">
$(function(){
	$("#billingNo").bind('input propertychange', function() {
		initPageIndex();
		formSubmit();
	});
	
	$("#startDate,#endDate,#customerId,#createUserId").on("change",function(){
		initPageIndex();
		formSubmit();
	});
});
</script>